import {createRouter, createWebHashHistory} from 'vue-router';

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Outside/Home')
  },
  {
    path: '/merchants/:keywords',
    name: 'Merchants',
    component: () => import( '../views/Outside/Merchants')
  }
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
